package cn.hahah.module.blog.controller.admin.usercomment.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import jakarta.validation.constraints.*;

@Schema(description = "管理后台 - 用户评论文章新增/修改 Request VO")
@Data
public class UserCommentSaveReqVO {

    @Schema(description = "评论编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "26077")
    private Long id;

    @Schema(description = "用户编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "31517")
    @NotNull(message = "用户编号不能为空")
    private Long userId;

    @Schema(description = "文章编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "26863")
    @NotNull(message = "文章编号不能为空")
    private Long articleId;

    @Schema(description = "评论内容", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "评论内容不能为空")
    private String content;

}